CPUIDLE: Avoid remnant HPET intr while force hpetbroadcast
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Sep 2008 10:09:08 +0000 (11:09 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Sep 2008 10:09:08 +0000 (11:09 +0100)
commite862b83e8433d8b898b09079dacbffb3bd42af9f
tree1456baaeebb3358524ee4ead70ee89f2be935cfc
parentbd9e91b6d96050be3d888a1446d534ddf01b1678
CPUIDLE: Avoid remnant HPET intr while force hpetbroadcast

Exit from C3 is mainly caused by HPET intr if force enable
hpetbroadcast. But it is still probably caused by other unexpected
events. In this case the HPET timer may still be alive while there is
no CPU in C3. Avoid those remnant HPET intr can save cpu handling time
and increase idle time.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/hpet.c